package com.lagou.dubbo.consumer;

import com.lagou.dubbo.DubboService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Component;

@Component
public class Consumer {


    @Reference
    private DubboService dubboService;

    public void insert() {
        dubboService.insert();
    }


    public void delete(){
        dubboService.delete();
    }


    public void update(){
        dubboService.update();
    }
}
